package cn.springcloud.fix.es.controller;

public class TaskRunnable implements Runnable {

    private int num;

    public TaskRunnable(int i) {
        this.num = i;
    }

    @Override
    public void run() {
        System.out.println("TaskRunnable start:" + this.num);
        try {
            Thread.sleep(50000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("TaskRunnable end:" + this.num);
    }
}
